﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;
using System.Threading;

namespace ProSOLD
{
  

  /// <summary>
  /// Interaction logic for Main.xaml
  /// </summary>
  public partial class Main : Page
  {

    

    public Main()
    {

      

      /*
      Thread th = new Thread(new ThreadStart(DoSplash));
      th.Start();
      Thread.Sleep(3000);
      th.Abort();
      Thread.Sleep(1000);
      */
      

      InitializeComponent();
    }

    private void DoSplash()
    {

      Splash sp = new Splash();
      sp.ShowDialog();

    }

    private void label1_MouseRightButtonDown(object sender, MouseButtonEventArgs e)
    {
       Program pr = new Program();

      NavigationService nav;

      nav = NavigationService.GetNavigationService(this);


      nav.Navigate(new System.Uri("Login.xml", UriKind.RelativeOrAbsolute));


      nav.Navigate(pr);
    }
  }
}
